package com.hand.wfive.loginAndVip.model;

import android.text.TextUtils;

public class VipGoodsModel {

    public static final String FOREVER_VIP = "永久会员";
    public static final String YEAR_VIP = "年度会员";
    public static final String MONTH_VIP = "月度会员";

    private String key;
    private String appName;
    private String productState;
    private String productKey;
    private String productName;
    private String productPrice;
    private String productOriginalPrice;
    public String productPriceReal;

    public VipGoodsModel(String productKey, String productPrice, String productOriginalPrice) {
        this.productKey = productKey;
        this.productPrice = productPrice;
        this.productOriginalPrice = productOriginalPrice;
    }

    private String paperWork; //活动角标文案
    private String accName; //会员卡名称
    private String accNum; //会员卡次卡
    private String cardDayNum; //会员卡天卡天数
    private int status; //是否显示角标？？
    private int isSelect;//是否选中 未选中:0  选中:1

    private String zPrice; //支付挽留弹窗优惠价格（砸中了的优惠价格）
    private String zPaperWork; //支付挽留弹窗角标文案

    public String getName() {
        if (TextUtils.isEmpty(accName)) return productName;
        return accName;
    }

    public String getPaperWork() {
        return paperWork;
    }

    public void setPaperWork(String paperWork) {
        this.paperWork = paperWork;
    }

    public String getAccName() {
        return accName;
    }

    public void setAccName(String accName) {
        this.accName = accName;
    }

    public String getAccNum() {
        return accNum;
    }

    public void setAccNum(String accNum) {
        this.accNum = accNum;
    }

    public String getCardDayNum() {
        return cardDayNum;
    }

    public void setCardDayNum(String cardDayNum) {
        this.cardDayNum = cardDayNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getZPrice() {
        return zPrice;
    }

    public void setZPrice(String zPrice) {
        this.zPrice = zPrice;
    }

    public String getZPaperWork() {
        return zPaperWork;
    }

    public void setZPaperWork(String zPaperWork) {
        this.zPaperWork = zPaperWork;
    }

    public String getProductState() {
        return productState;
    }

    public void setProductState(String productState) {
        this.productState = productState;
    }

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(String productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductOriginalPrice() {
        return productOriginalPrice;
    }

    public void setProductOriginalPrice(String productOriginalPrice) {
        this.productOriginalPrice = productOriginalPrice;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public int getIsSelect() {
        return isSelect;
    }

    public void setIsSelect(int isSelect) {
        this.isSelect = isSelect;
    }

    public String getProductPriceReal() {
        return productPriceReal;
    }

    public void setProductPriceReal(String productPriceReal) {
        this.productPriceReal = productPriceReal;
    }
}
